<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'Column3D.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    

	<link rel="stylesheet" href="/project2/admin/achievementAnalyse/Contents/Style.css" type="text/css" />
	<script language="JavaScript" src="/project2/admin/achievementAnalyse/JSClass/FusionCharts.js"></script>
	<script type="text/javascript">
		function tolink(i){
			if(i==1){
				window.location.href("/project2/admin/achievementAnalyse/Gallery/Pie3D.jsp");
			}else{
				window.location.href("/project2/admin/achievementAnalyse/Gallery/Total.jsp");
			}
		}
	</script>
  </head>
  
  <body>
  <input type="button" value="饼状图" onclick="tolink(1)" />&nbsp;&nbsp;&nbsp;
 <input type="button" value="折线图" onclick="tolink(2)" />
   <table width="98%" border="0" cellspacing="0" cellpadding="3" align="center">
	  <tr> 
	    <td valign="top" class="text" align="center"> <div id="chartdiv" align="center">&nbsp;  
	        FusionCharts. </div>
	      <script type="text/javascript">
			   var chart = new FusionCharts("/project2/admin/achievementAnalyse/Charts/FCF_Column3D.swf", "ChartId", "700", "500");
			   chart.setDataURL("/project2/admin/achievementAnalyse/Gallery/Data/Pie3D.xml");		   
			   chart.render("chartdiv");
		  </script> 
		</td>
	  </tr>
   </table>
  </body>
</html>
